import Cookies from 'js-cookie'; // npm i --save-dev @types/js-cookie 下载声明文件
const curToken = 'app-vue3-cli';
export function getToken(): string | undefined {
  return Cookies.get(curToken)
}
export function setToken(token: string): void {
  Cookies.set(curToken, token)
}

export function removeToken() {
  Cookies.remove(curToken)
}